package br.albatroz.et;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table (name="tb_avaliacao")
public final class Avaliacao extends AbstractEntity {

	@Column
	private String comment;

	@ManyToOne
	private Gol Gol;

	/**
	 * nota
	 */
	@Column
	private double value;

	public Avaliacao() {
		super();
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Gol getGol() {
		return Gol;
	}

	public void setGol(Gol gol) {
		Gol = gol;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

}